#coding:utf-8
import requests, json

def getInfo(cardID):
	if cardID[-1] == '\n':
		cardID = cardID[:-1]
	http = requests.Session()
	data = {
		'ID':cardID
	}
	url = 'http://127.0.0.1/StuInfo'
	result = http.post(url, data=data)
	return json.dumps(result.text)